package com.bbcare.followup.extend.dao;

import com.bbcare.followup.plat.entity.Patient;
import com.bbcare.followup.plat.entity.PatientContentData;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 扩展业务数据访问
 *
 * @author Ace
 */
@Repository
public interface ExtendDAO {
    /**
     * (广三)统计数据中心患者数
     * by Ace
     */
    int countDataCenterPatient(Map<String,Object> map) throws Exception;

    /**
     * (广三)根据基本参数查询患者数据
     *
     * by Ace
     */
    List<Patient> selectByBaseInfo(HashMap<String, Object> paramMap);

    /**
     * (广三) 查询条件下的患者队列list
     *
     * by Ace
     */
    List<Map<String, Object>> selectPtQueueList(HashMap<String, Object> paramMap) throws Exception;

    /**
     * (广三) 根据账户id查询权限
     *
     * by Ace
     */
    Map<String,Object> selectRoleByAccountId(String accountId);
}
